home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
newtee.man
< prev
next >
Wrap
Text File
|
1991-10-16
|
1KB
|
69 lines
NEWTEE User Commands NEWTEE
_________________________________________________________________
NNAAMMEE
newtee - Copy input to both stdout and the listed files
without blocking.
SSYYNNOOPPSSIISS
nneewwtteeee -[_o_p_t_i_o_n_s] outputfile1 ...
OOPPTTIIOONNSS
--aappppeenndd Append output to listed output files rather
than overwrite them.
--iinnppuuttFFiillee Use the given file as input rather than stdin.
--kkeeeeppGGooiinngg Keep waiting for more input, even at end-of-
file, as is done in "tail -f."
_________________________________________________________________
IINNTTRROODDUUCCTTIIOONN
Copy data from input (either a file or stdin) to stdout and
also to the listed output files. The data is not buffered
and also the data will be copied to stdout even if writing
to the output files blocks (due to server failure, etc).
This is useful for reading /dev/syslog and sending the
stdout to an X window while copying the data also to a file
so that you can read the syslog for the machine from any-
where and not just the console.
KKEEYYWWOORRDDSS
tee syslog cat X copy
Sprite v.1.0 Printed: October 16, 1991 1